<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <a href="/img/1.jpg">图片</a>
    <a href="/img/2.avi">视频</a>
<hr>
    <a href="/downloadServlet?filename=1.jpg">图片</a>
    <a href="/downloadServlet?filename=2.avi">视频</a>
</body>
</html>